<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@page
	import="org.springframework.context.support.ClassPathXmlApplicationContext"%>
<%@page import="org.springframework.beans.factory.BeanFactory"%>
<%@page import="java.io.File"%>
<%@page import="com.sion.DemoAction"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	</head>

	<body>
		This is my JSP page.
		<br>

		<%
			ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
			        new String[] { "../applicationContext.xml" });
			BeanFactory factory = (BeanFactory) appContext;
			DemoAction b = (DemoAction) factory.getBean("demoAction");
			b.printABC();
			 
			
		%>
		aaoo
	</body>

</html>
